decompress
Type
function
Summary
Returns the plain text of a gzip-encoded string.
Syntax
decompress(<gzippedString>)
the decompress of <gzippedString>
Description
Use the decompress function to regain the original data that was compressed.
The decompress function is the inverse of the compress function.
The uncompressed result is typically about half again the size of the compressed data, although different results may be obtained depending on the amount of data.
For technical information about the format used by the compress and decompress functions, see RFC 1952. The decompress function uses the zlib compression library.
Parameters
Name | Type | Description |
---|---|---|
gzippedString | string | A string of compressed binary data. |
Examples
decompress(tReceivedString)
put decompress(it) into URL "file:data.txt"
go stack decompress(URL "binfile:newstuff.gz")
Related
control structure: function
function: base64Decode, compress, URLDecode
glossary: compress, return, function
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile